package com.zzedu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzedu.domain.ZzThesaurusAttr;

import java.util.List;

/**
 * 单词属性Mapper接口
 *
 * @author Mr.Wang
 * @date 2025-01-29
 */
public interface ZzThesaurusAttrMapper extends BaseMapper<ZzThesaurusAttr> {

    /**
     * 随机选择 wordIdList 单词的属性
     *
     * @param wordIdList
     * @param attrCodeList
     * @return
     */
    List<ZzThesaurusAttr> getByWordIdAndAttrOne(List<Long> wordIdList, List<String> attrCodeList);
}
